package de.tum.datatypes;

public class MultipleChoiceQuestionEvaluation {
	
	/**
	 * index; shows which position the question has in the exercise
	 */
	private int index;
	
	/**
	 * count of the answerPossibilites
	 */
	private int answerPossibilites;
	
	/**
	 * array for the choosenAnswer
	 *  -> true: box has been checked
	 *  -> false: box has not been checked
	 */
	private boolean[] choosenAnswers;
	
	
	
	public MultipleChoiceQuestionEvaluation(int index, int answerPossibilities,  boolean[] choosenAnswers){
		this.setIndex(index);
		this.setAnswerPossibilites(answerPossibilities);
		this.setChoosenAnswers(choosenAnswers);
	}

	
	/*
	 * GETTERS & SETTERS
	 */
	
	/**
	 * @return the index
	 */
	public int getIndex() {
		return index;
	}

	/**
	 * @param index the index to set
	 */
	public void setIndex(int index) {
		this.index = index;
	}

	/**
	 * @return the answerPossibilites
	 */
	public int getAnswerPossibilites() {
		return answerPossibilites;
	}

	/**
	 * @param answerPossibilites the answerPossibilites to set
	 */
	public void setAnswerPossibilites(int answerPossibilites) {
		this.answerPossibilites = answerPossibilites;
	}

	/**
	 * @return the choosenAnswers
	 */
	public boolean[] getChoosenAnswers() {
		return choosenAnswers;
	}

	/**
	 * @param choosenAnswers the choosenAnswers to set
	 */
	public void setChoosenAnswers(boolean[] choosenAnswers) {
		this.choosenAnswers = choosenAnswers;
	}

}
